package com.rose.doorto.footbathdoor.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * @Author 李庆超
 * @email 1481791489@qq.com
 * @Package：com.rose.doorto.footbathdoor.pojo
 * @Project：door-to-door
 * @name：Project
 * @date 2024/07/10 2024/7/10:10:35:
 */
@Data
@ApiModel(value = "服务项目", description = "服务项目信息表")
@AllArgsConstructor
@NoArgsConstructor
public class Project {


    @ApiModelProperty("表主键")
    @TableId(value = "pid", type = IdType.AUTO)
    private Long pid;

    @ApiModelProperty("项目图片")
    private String image;

    @ApiModelProperty("项目简介")
    private String introduction;

    @ApiModelProperty("项目价格")
    private BigDecimal price;

    @ApiModelProperty("已售数量")
    private int sell;

    @ApiModelProperty("项目名称")
    private String name;

    @ApiModelProperty("服务时长")
    private String duration;

}
